home *** CD-ROM | disk | FTP | other *** search
/ PC Gamer (Italian) 38 / PC Gamer IT CD 38 1-2.iso / HG2DEMO / hg2demo.exe / data / Objects / hrdr0005.x < prev    next >
Text File  |  1998-09-17  |  6KB  |  304 lines

  1. xof 0302txt 0032
  2. template Header {
  3.  <3D82AB43-62DA-11cf-AB39-0020AF71E433>
  4.  WORD major;
  5.  WORD minor;
  6.  DWORD flags;
  7. }
  8.  
  9. template Vector {
  10.  <3D82AB5E-62DA-11cf-AB39-0020AF71E433>
  11.  FLOAT x;
  12.  FLOAT y;
  13.  FLOAT z;
  14. }
  15.  
  16. template Coords2d {
  17.  <F6F23F44-7686-11cf-8F52-0040333594A3>
  18.  FLOAT u;
  19.  FLOAT v;
  20. }
  21.  
  22. template Matrix4x4 {
  23.  <F6F23F45-7686-11cf-8F52-0040333594A3>
  24.  array FLOAT matrix[16];
  25. }
  26.  
  27. template ColorRGBA {
  28.  <35FF44E0-6C7C-11cf-8F52-0040333594A3>
  29.  FLOAT red;
  30.  FLOAT green;
  31.  FLOAT blue;
  32.  FLOAT alpha;
  33. }
  34.  
  35. template ColorRGB {
  36.  <D3E16E81-7835-11cf-8F52-0040333594A3>
  37.  FLOAT red;
  38.  FLOAT green;
  39.  FLOAT blue;
  40. }
  41.  
  42. template TextureFilename {
  43.  <A42790E1-7810-11cf-8F52-0040333594A3>
  44.  STRING filename;
  45. }
  46.  
  47. template Material {
  48.  <3D82AB4D-62DA-11cf-AB39-0020AF71E433>
  49.  ColorRGBA faceColor;
  50.  FLOAT power;
  51.  ColorRGB specularColor;
  52.  ColorRGB emissiveColor;
  53.  [...]
  54. }
  55.  
  56. template MeshFace {
  57.  <3D82AB5F-62DA-11cf-AB39-0020AF71E433>
  58.  DWORD nFaceVertexIndices;
  59.  array DWORD faceVertexIndices[nFaceVertexIndices];
  60. }
  61.  
  62. template MeshTextureCoords {
  63.  <F6F23F40-7686-11cf-8F52-0040333594A3>
  64.  DWORD nTextureCoords;
  65.  array Coords2d textureCoords[nTextureCoords];
  66. }
  67.  
  68. template MeshMaterialList {
  69.  <F6F23F42-7686-11cf-8F52-0040333594A3>
  70.  DWORD nMaterials;
  71.  DWORD nFaceIndexes;
  72.  array DWORD faceIndexes[nFaceIndexes];
  73.  [Material]
  74. }
  75.  
  76. template MeshNormals {
  77.  <F6F23F43-7686-11cf-8F52-0040333594A3>
  78.  DWORD nNormals;
  79.  array Vector normals[nNormals];
  80.  DWORD nFaceNormals;
  81.  array MeshFace faceNormals[nFaceNormals];
  82. }
  83.  
  84. template Mesh {
  85.  <3D82AB44-62DA-11cf-AB39-0020AF71E433>
  86.  DWORD nVertices;
  87.  array Vector vertices[nVertices];
  88.  DWORD nFaces;
  89.  array MeshFace faces[nFaces];
  90.  [...]
  91. }
  92.  
  93. template FrameTransformMatrix {
  94.  <F6F23F41-7686-11cf-8F52-0040333594A3>
  95.  Matrix4x4 frameMatrix;
  96. }
  97.  
  98. template Frame {
  99.  <3D82AB46-62DA-11cf-AB39-0020AF71E433>
  100.  [...]
  101. }
  102. template FloatKeys {
  103.  <10DD46A9-775B-11cf-8F52-0040333594A3>
  104.  DWORD nValues;
  105.  array FLOAT values[nValues];
  106. }
  107.  
  108. template TimedFloatKeys {
  109.  <F406B180-7B3B-11cf-8F52-0040333594A3>
  110.  DWORD time;
  111.  FloatKeys tfkeys;
  112. }
  113.  
  114. template AnimationKey {
  115.  <10DD46A8-775B-11cf-8F52-0040333594A3>
  116.  DWORD keyType;
  117.  DWORD nKeys;
  118.  array TimedFloatKeys keys[nKeys];
  119. }
  120.  
  121. template AnimationOptions {
  122.  <E2BF56C0-840F-11cf-8F52-0040333594A3>
  123.  DWORD openclosed;
  124.  DWORD positionquality;
  125. }
  126.  
  127. template Animation {
  128.  <3D82AB4F-62DA-11cf-AB39-0020AF71E433>
  129.  [...]
  130. }
  131.  
  132. template AnimationSet {
  133.  <3D82AB50-62DA-11cf-AB39-0020AF71E433>
  134.  [Animation]
  135. }
  136.  
  137. Header {
  138.  1;
  139.  0;
  140.  1;
  141. }
  142.  
  143. Frame frm-obj2 {
  144.   FrameTransformMatrix {
  145. 1.000000,0.000000,0.000000,0.000000,
  146. 0.000000,1.000000,0.000000,0.000000,
  147. 0.000000,0.000000,1.000000,0.000000,
  148. 0.000000,0.000000,0.000000,1.000000;;
  149.  }
  150. Mesh obj2 {
  151.  32;
  152.  1.329288;0.000000;0.000000;,
  153.  0.996966;0.000000;0.000000;,
  154.  -0.000000;0.000000;1.329288;,
  155.  -0.000000;0.000000;0.996966;,
  156.  -1.329288;0.000000;-0.000000;,
  157.  -0.996966;0.000000;-0.000000;,
  158.  0.000000;0.000000;-1.329288;,
  159.  0.000000;0.000000;-0.996966;,
  160.  -1.392596;0.188764;-1.395371;,
  161.  -1.107828;0.188764;-1.071158;,
  162.  -1.107828;0.188764;-1.071158;,
  163.  -0.090249;0.194402;-1.071159;,
  164.  -0.081333;0.188764;-1.395371;,
  165.  -1.107288;0.188764;-0.098519;,
  166.  -1.392596;0.188764;-1.395371;,
  167.  -1.392596;0.188764;-0.098519;,
  168.  0.000000;0.000000;-0.996966;,
  169.  0.000000;0.000000;-1.329288;,
  170.  -0.704961;0.000000;-0.704961;,
  171.  -0.939948;0.000000;-0.939948;,
  172.  -0.996966;0.000000;-0.000000;,
  173.  -1.329288;0.000000;-0.000000;,
  174.  -0.704961;0.000000;0.704961;,
  175.  -0.939948;0.000000;0.939948;,
  176.  -0.000000;0.000000;0.996966;,
  177.  -0.000000;0.000000;1.329288;,
  178.  0.704961;0.000000;0.704961;,
  179.  0.939948;0.000000;0.939949;,
  180.  0.996966;0.000000;0.000000;,
  181.  1.329288;0.000000;0.000000;,
  182.  0.704961;0.000000;-0.704961;,
  183.  0.939949;0.000000;-0.939949;;
  184.  
  185.  10;
  186.  4;3,22,23,2;,
  187.  4;22,5,4,23;,
  188.  4;26,24,25,27;,
  189.  4;20,18,19,21;,
  190.  4;7,30,31,6;,
  191.  4;1,26,27,0;,
  192.  4;30,28,29,31;,
  193.  4;18,16,17,19;,
  194.  4;9,11,12,8;,
  195.  4;14,15,13,10;;
  196.  
  197.  MeshMaterialList {
  198.   1;
  199.   10;
  200.   0,
  201.   0,
  202.   0,
  203.   0,
  204.   0,
  205.   0,
  206.   0,
  207.   0,
  208.   0,
  209.   0;
  210. Material {
  211.  0.700000;0.700000;0.700000;1.000000;;
  212.  50.000000;
  213.  1.000000;1.000000;1.000000;;
  214.  0.0; 0.0; 0.0;;
  215.  TextureFilename {
  216.   "hhu1gn1c.ppm";
  217.  }
  218.  }
  219. }
  220.  MeshNormals {
  221.   32;
  222.   0.000000;1.000000;0.000000;,
  223.   0.000000;1.000000;0.000000;,
  224.   0.000000;1.000000;0.000000;,
  225.   0.000000;1.000000;0.000000;,
  226.   0.000000;1.000000;0.000000;,
  227.   0.000000;1.000000;0.000000;,
  228.   0.000000;1.000000;0.000000;,
  229.   0.000000;1.000000;0.000000;,
  230.   -0.001210;0.999992;-0.003832;,
  231.   -0.001210;0.999992;-0.003832;,
  232.   -0.001210;0.999992;-0.003832;,
  233.   -0.002421;0.999968;-0.007665;,
  234.   -0.002421;0.999968;-0.007665;,
  235.   -0.000000;1.000000;0.000000;,
  236.   -0.001210;0.999992;-0.003832;,
  237.   -0.000000;1.000000;0.000000;,
  238.   0.000000;1.000000;0.000000;,
  239.   0.000000;1.000000;0.000000;,
  240.   0.000000;1.000000;0.000000;,
  241.   0.000000;1.000000;0.000000;,
  242.   0.000000;1.000000;0.000000;,
  243.   0.000000;1.000000;0.000000;,
  244.   0.000000;1.000000;0.000000;,
  245.   0.000000;1.000000;0.000000;,
  246.   0.000000;1.000000;0.000000;,
  247.   0.000000;1.000000;0.000000;,
  248.   0.000000;1.000000;0.000000;,
  249.   0.000000;1.000000;0.000000;,
  250.   0.000000;1.000000;0.000000;,
  251.   0.000000;1.000000;0.000000;,
  252.   0.000000;1.000000;0.000000;,
  253.   0.000000;1.000000;0.000000;;
  254.  
  255.   10;
  256.   4;3,22,23,2;,
  257.   4;22,5,4,23;,
  258.   4;26,24,25,27;,
  259.   4;20,18,19,21;,
  260.   4;7,30,31,6;,
  261.   4;1,26,27,0;,
  262.   4;30,28,29,31;,
  263.   4;18,16,17,19;,
  264.   4;9,11,12,8;,
  265.   4;14,15,13,10;;
  266.  }
  267.  MeshTextureCoords { 
  268.  32;
  269.  0.015012;0.458333;,
  270.  0.015165;0.596354;,
  271.  0.015012;0.458333;,
  272.  0.015165;0.596354;,
  273.  0.010064;0.459115;,
  274.  0.009175;0.597135;,
  275.  0.015012;0.458333;,
  276.  0.015165;0.596354;,
  277.  0.538411;0.388021;,
  278.  0.445964;0.386936;,
  279.  0.531250;0.351563;,
  280.  0.445964;0.296224;,
  281.  0.538411;0.296224;,
  282.  0.529948;0.018229;,
  283.  0.434896;0.425781;,
  284.  0.434896;0.020833;,
  285.  0.009175;0.597135;,
  286.  0.010064;0.459115;,
  287.  0.291667;0.713542;,
  288.  0.377604;0.609375;,
  289.  0.015165;0.596354;,
  290.  0.015012;0.458333;,
  291.  0.291667;0.713542;,
  292.  0.377604;0.609375;,
  293.  0.009175;0.597135;,
  294.  0.010064;0.459115;,
  295.  0.291667;0.713542;,
  296.  0.377604;0.609375;,
  297.  0.009175;0.597135;,
  298.  0.010064;0.459115;,
  299.  0.291667;0.713542;,
  300.  0.377604;0.609375;;
  301.  }
  302. }
  303. }
  304.